projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f322b3
)
babl_init_db: formats being with first char of line
author
Øyvind Kolås
<pippin@gimp.org>
Mon, 14 Nov 2016 13:28:31 +0000
(14:28 +0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Mon, 14 Nov 2016 13:28:31 +0000
(14:28 +0100)
babl/babl.c
patch
|
blob
|
history
diff --git
a/babl/babl.c
b/babl/babl.c
index 72f2327247847b5a0b7298006c03472e8e5ec9ec..b7e45c93716ce7bde1f6cd82dd040da4a03b7491 100644
(file)
--- a/
babl/babl.c
+++ b/
babl/babl.c
@@
-351,17
+351,16
@@
static void babl_init_db (const char *path)
default:
if (!from_format)
{
- from_format = (void*)babl_db_find(babl_format_db(),
&token[1]
);
+ from_format = (void*)babl_db_find(babl_format_db(),
token
);
if (!from_format)
return;
}
else
{
- to_format = (void*)babl_db_find(babl_format_db(),
&token[1]
);
+ to_format = (void*)babl_db_find(babl_format_db(),
token
);
if (!to_format)
return;
}
-
break;
}
token = strtok_r (NULL, seps, &tokp);